package com.koro.controller;

import com.koro.vo.ResponseObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@Api(tags = "ELK测试")
public class ElkController {

    @GetMapping("/testELK")
    @ApiOperation(value = "ELK测试",notes = "ELK测试")
    public ResponseObject testElk() {
        log.info("info-ELK测试。。。");
        log.error("error-ELK测试。。。");
        return ResponseObject.ok("ELK测试完成.");
    }
}
